﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="FastSpring.Core.Model.Config,FastSpring.Net.Core" table="Sys_Config" lazy="false">
    <id name="ID" column="ID" type="Int32">
      <generator class="native" />
    </id>
    <property name="ConfigName" column="ConfigName"/>
    <property name="ConfigValue" column="ConfigValue"/>
    <property name="ConfigDesc" column="ConfigDesc"/>
  </class>
  <query name="GetConfigOfName">
    <![CDATA[from Config config WHERE config.ConfigName=:param1 ]]>
  </query>
  <query name="GetAllConfig">
    <![CDATA[from Config config]]>
  </query>
</hibernate-mapping>
